<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>添加系统信息</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="css/style.css"  type="text/css" media="all" />
<link rel="stylesheet" type="text/css"
	href="DatePicker_CN/css/ui-lightness/jquery-ui.css" />
<script src="js/jquery-1.9.0.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/WarnMessages.js"></script>
<script type="text/javascript" charset="utf-8"
	src="ueditor/editor_config.js"></script>
<script type="text/javascript" charset="utf-8"
	src="ueditor/editor_all.js"></script>
</head>
<script type="text/javascript">
	/*****以下是表单验证****/
	$(function() {
		$("#myform").validate({
			rules : {
				'systemInfo.itemName' : {
					required : true
				},
				'systemInfo.itemValue' : {
					required : true
				}
			}
		});
	});
	/*****以上是表单验证****/
</script>
<body class="ContentBody">
	<form id="myform" action="admin/addSysInfo" method="post" target="mainFrame">
		<div class="MainDiv">
			<table width="99%" border="0" cellpadding="0" cellspacing="0"
				class="CContent">
				<tr>
					<th class="tablestyle_title">添加系统信息</th>
				</tr>
				<tr>
					<td class="CPanel">
						<table border="0" cellpadding="0" cellspacing="0"
							style="width:100%">
							<TR>
								<TD width="100%">
									<fieldset style="height:100%;">
										<legend>新建系统信息</legend>

										<table border="0" cellpadding="2" cellspacing="1"
											width="800px">
											<tr>
												<td width="30px">&nbsp;</td>
												<td align="right" width="60px">类目名称:</td>
												<td><input name="systemInfo.itemName" type="text"
													size="50" />
												</td>
											</tr>
											<tr>
												<td>&nbsp;</td>
												<td align="right" valign="top">类目内容:</td>
												<td><textarea name="systemInfo.itemValue" id="editor"
														type="text/plain"></textarea></td>
											</tr>
											<tr>
												<td>&nbsp;</td>
												<td>&nbsp;</td>
												<td align="center"><input type="submit" class="right-button02" value="提交" />
													&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" class="right-button02"
													value="重置" /></td>
											</tr>
										</table>
										<br />
									</fieldset></TD>
							</TR>
						</TABLE></td>
				</tr>

			</TABLE>
		</div>
	</form>
</body>
</html>
<script type="text/javascript">
	//实例化编辑器
	var ue = UE.getEditor('editor');

	ue.addListener('ready', function() {
		this.focus()
	});
</script>